package com.zp2.model.user;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zp2.model.base.BaseEntity;
import lombok.Data;

import java.sql.Date;

@Data
@TableName("user")
public class User extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @TableId
    private Integer userId;
    private String username;
    private String password;
    private String email;
    private Short roleId;
    private String profilePic;
    private Integer companyId;
    private String phone;
    private Date lastLoginTime;
    private String lastLoginIp;
    private Short status;
}
